<!--
 * @Author: WangGuojian 1085844536@qq.com
 * @Date: 2024-06-27 23:06:42
 * @LastEditTime: 2024-06-28 08:24:08
 * @LastEditors: WangGuojian 1085844536@qq.com
 * @FilePath: \html\code\2_CSS\CSS_三大特性\CSS_三大特性.html
 * @Description:
-->
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>CSS_三大特性</title>
    <link rel="stylesheet" href="./index.css">
    <style>
        h2 {
            color: green;
        }

        div {
            color: red;
            font-size: 40px;
            background-color: skyblue;
        }

        p {
            color: purple;
        }


        * {
            color: gray;
        }
    </style>
</head>

<body>
    <h2 id="atguigu">尚硅谷</h2>
    <hr>
    <div>
        我是div中的文字
        <span>我是span中的文字1</span>
        <span>我是span中的文字2</span>
        <span>我是span中的文字3</span>
        <p>
            <span>我是span中的文字4 </span>
        </p>
    </div>
</body>

</html>